package com.wangy.sct.serviceuser.app.mapper;

import com.wangy.sct.serviceuser.api.model.response.UserServiceResp;
import com.wangy.sct.serviceuser.app.schema.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName: UserInfoMapper <br/>
 * Description:  <br/>
 *
 * @author wangyue
 * @version V1.0.0
 * @date 2018/11/5 6:15 PM
 */
@Mapper
@Repository
public interface UserInfoMapper {

	List<UserServiceResp> select(UserInfo userInfo);

	UserServiceResp findById(@Param("userId") String userId);

}
